#define _CRT_SECURE_NO_WARNINGS 1
#include "SList.h"

SLnote* SLinit(SLtype x)
{
	SLnote* newnote = (SLnote*)malloc(sizeof(SLnote));
	if (newnote)
	{
		perror("malloc is faild:newSLnote");
		exit(1);
	}
	newnote->date = x;
	newnote->next = NULL;
	return newnote;
}